Added tmux update function
Merged in tmux fixes