Add update hook for image format.