deep update for railtie and actionpack