update and add figure