setBehaviour

A function for defining the behavior to handle updates.