add render when a partial is created