update _M.release_image and magic