update core js