update features, save codes.