Case update on replied email

I looking for a way that can update my case if my customer has replied to an email. I have connected my mail to CRM so emails received will generate cases and that works fine. But when I am creating a case for a customer which will send an email to the person automatically and if he then replies to that mail it will just create another different case instead of updating the existing case.
Is there a solution to this?
Thanks in advance