edit page validation
edit page model function