Update codes to submit