widget updated and rails dependency changed from 4.0 to any 4.x version