update blog with validations
Add validation to project model