Update method to give more specific object type.