added an automatic status updater to the main template