updated put call and example