Updated the gallery to use the new version of the kinvey library