minor improvement in update-manifest script