ok resloved it
while creating service make sure you don't save it before adding some config in config tab
just add some dummy code you can edit it later. if you create script service without adding any config you will get " Cannot set property 'content' of null " and you wont be able to edit it later.
I think Dreamfactory should add this to wiki or update UI.
hope this help.