frontend edit link attribute