finished edit site functionality