Updating database entry.