fixed bug in map mutator
removed unnecessary code in updateBlock()