Added batch-updates and stop and reset functionality to map