Updating total properly in map paging