edit options and links