modify map controller