Adding endpoint to set source