complete step2
update compute