added functionality for uploadLink