Fixed callback for before_update

Signed-off-by: Malte Sussdorff <malte.sussdorff@cognovis.com>