completed porting updtr to v8