added updateTree function that redraws tree if digital sound reading is true, and incorporated sky and mountain calls into tree call