updating resources