Adding pre-insert/update