remove unused files and update analytics