Put method returns html status code. Added documentation for update_history