update portlet to take also folder