update realCreate to return a long because it breaks for bigint primary keys