Update core.gs