allows user to add a value to a key