commit the uploads dir