upload all functions