rename primaries key by id