got edit period page working