state codes
Reloading data and deleting old layer