update robot script