edit mixin