Updated dependencies to object instead of array