Updating my 3.1 Cx Cas to 4.+ CX CAS

Hi guys, I've a Ti-nspire cx and long time ago a friend of mine helped me installing the 3.1 CX CAS on my calculator with ndless and it was really nice, but now I need some of the newer features of the software and I've no idea how can I update to another CAS version without bricking it because I don't even remember how I installed the 3.1 in first place. Can someone please 'guide' me on the righ way? Thanks in advance!