added write post list to db