update and remove outdated things