Updating image width