replace POST passed to add_update_course, not allowed in php5.4