edit the template of dashboard