update - option to take resources from inputs