defined update function of page controller
defined delete function of page controller