add a function for upload pireport