5. Edit documents in a database