update Robot class