reflect schema changes and adding edit page