Modify upload validation