Added update methods to API.