There are no errors in the fifth line.

Variables are called variables because the values they store can vary over time. It's valid to update a variable's value.