insert operations on DB return latest id