added trigger method for record class to trigger callbacks