Refactored for spelling error in function name. Added update, remove environments from profile