update core to current version