After successful insertion of the data into database