Fixed assumption in people#update and added test