removes unused require and updates deps