adding code for synced addition and removal of cells on minimap