update frontend and remove unused files