Added  overload of upload method