Update API for php error filter