update img upload to server