updated remoteStorage lib, fixes to dbmodel