add edit order function to share
fix schema.rb