updated DPMap api.
updated DPMap implementations to match above update.