fixed issue where ace editors were not refreshing content correctly