update figure path