updating phase colors