modify figure