modify addr and image