Updates to photo functionality