Working on updating database