update for png upload support