Take out contact_tabs to partial. for ajax update this partial. take of in contacts#index methods with query in def retriev_query