Update process_math