updated up_n_down from whb; blink changes, SOS added, lock added