Fixed updating marked edge

Closes #67