added option to refresh migrations