Extended Feature to also do Edit of Capsule. Renamed variables to follow snake case.