added function for changing active deed