updates for mapi_image