update photos width