update storage query