removed else and weektemplate update