Robot code update