insert survey message into database