update to work with modified version of RestForIOS