update phase finding code task