using the same interface for creation and update

Hi,
Please suggest me.
i am using the same interface for creation and update.so when i was in creation my values r storing from local variable to rule input by submitting the button, but i don't want the same in when i am doing update. I want to save the rule input values into the CDT. i tried using the update function.
Thank you

  Discussion posts and replies are publicly visible