update with pseudo code

update with pseudo code