update ps1: add dirtystate and change colors