update php Rest feature