update blog files and database