modified add and delete methods on framework side