updated handler methods to retrieve list of branchids