changed site method from edit to update