[ADDED] Update functions for VRMS and IRMS register and Energy register.