Update the BindCotext and some code clean.