implement updates on maps

Signed-off-by: José Valim <jose.valim@plataformatec.com.br>