update image head file