added the update_info functionality