updated map controller