change contents of database entry