update framework to 0.6 and use the validator