rework PID remap for dynamic changes + /newsid=