update publish remote and version