update main and robotcontroller for compliance