updates in step 4