update framework code