updated find calls to query