update blacksmith to fix some bugs