Pipeline edit mode and preview mode added