updates .profile and corrects typo in logicMap