Updates HR setting function