1. workaround for sqlsrv lastid issue;
2. user edit/update;