Add primary keys so the context will update instead of isnert.