Missing files, updating queries and db