Updated static pages controller