Update database, editItem