update structure angular