update rules of posting data