update angle needs to be public