fix bug with update