move submit to Code class
submit code, return via ajax
bundle update