Improved auto PK increment