Add update and destroy hooks