update rivers controller to use site_code as id