Update write.php

place Param::get to variables