chang for db insert