update some resource