Added missing code upload data functionality

Added missing code upload data functionality