Fix syntax of update