Update sorted map