added add edit intrest logic