fixing branchData to update on successful upload