fix some behavior of edit mode
versioning
Gemfile.lock update