update figure plugin