Fix for update not using correct filepath (causing import issues)