fixes erros on update paths
adds merchant index for admin