update subscriptions.js