updated depends and permissions