Update

Updates necessary to work with the latest API version