update Resource file