working on fixing UPDATE