update and validate gruntfile