remove unused lib require
edit validation
Update validation