add branch and device form