update subscription query