fixed urls, added edit page and update page