add gnvm install latest logic