Contact object was not getting updated without using repository.save(updatedContact). Book says dont need to specifically call save. Need to investigate.