fix updating deleted branch