updates name of image param