added logic to thumbnail upload to do nothing if url not yet set