Working edit buttons