fixed update photos dimensions