tryin to fix bug where update fails