some fixes with update