Updates templates to hide empty or undesir content