user can update records in database