I have checked the code and it does not have to so anything with it, it was that i have to make "allow additions" property to yes, i have done that before but I am surprised how it didn't work than. May be i did something wrong before. Sorry for taking out your valuable time.SHANEMAC51 and Mike Krailo, Thanks for your reply also typo in subject is corrected, sorry for that.
I understand now that there is allow edit property has issue and its obvious because of the coding. . . I will try to find the culprit code by elimination process and will revert to close this thread.