Update bm-upload.php