Adjusting logic to update/delete users