updated config for photos