move set effective date method to queries api