improved zsh_update cmd to rebase detatched head