added update_all() method and updated documentation