Pass old primary key as additional argument to onupdate() function