Use ajax call to update blocks after edition