update base framework, and some style