To update the state, you can call this.setState passing in a new object which overwrites one or both of the email and password properties.
this.setState