Neural mechanisms supporting flexible performance adjustment during development