Inserting candidates into DB