Added update hook for s4_sites.
Fixed redirect after saving files.
fixed enrollment count in course view.