Initialization
升级smarty