update was not making image directory on branches