update setting api and tinymce