updated min and tree image path