update theme files and query post