Updating Unit Functions.