set branch in multistage