fixed wrong update syntax