changing permalink and upgrade gems