update editor ctrl