update management and fix CORS bug