removed part that removes image and updates header