update angular structure