Added edit buttons on frontendnd and admin