add gem update and fix tmux crash