Update image id