update  custom resource id etc