edit logik controller