updating server to filter results based on url