updating for php