Update side menu after reading value from storage

in app.component.ts, i have a variable userRating:number = 1; its value is read from storage. the side menu does not show the value read from storage. instead, it shows default value i.e. 1. I can understand how it is happening but i don’t know how to ask side menu to update userRating? please help!