update functional php blog