updated fields in database