Update of dashboard code