Upload functionality added