updates rails / javascript portions