better branch edit