1. update map logic
2. update map generator