parameterize & refresh patch