fixing check for optional in tests and had update_in_place return its bundle