updating photo size