Appending to database now works.