change images and files validation rules