updated deploy to work with mongo