update framework
fix compatibility