write data to database; and reply