Change parameters to fit new data structure

change php