fix update sites form and controller