Update scratch_input.c