updated add and edit to theme b