changing SF retrieval query