updates logic map