expanded upload function for articles