updating monit type with validation