Added events and url to model