Removed old initmap function in favor of init function and renamed updateDetails to updateChallengeDetails