update resourcemap