add two more field in the pin modal and update code in pin.php  according to the change

Now, pin upload code is sync with  addPin query method.