Updated dependencies and added comments