Update usefulRcode