Non-linear dynamics of nanotube based NEMS