update figure framework