update gems. smarter cropping