enable WPS by default and let updatelayers to update statistics

fix #1128 and #1056