Effects of edge conditions on plasma confinement in ASDEX