Update routing and fixed check duplicate clinic method