update dependencies and cleanup