update to work with online-services-common-js