Extended rails upgrade and cleanup