Update pages controller