upgrade refinery to 2.1