Set Last_Insert_ID after every insert