Made secure editing work