update map id on click without refresh,