before changing manifest