work on update p almost ready
some further testing