Update rcode