User can update an item in the database