Automatic water supply system