trying to make locations edit photo uploads work