Add upload function to parse