update existing div