Update rcode

Reorder and change columns and remove rownames