reverted updateHeader code in footer.js to fix top bar after an image upload