change attributes name for php