update validation of frontend page