refactor modes init
Update packages