update with bad practices