Cookies should not be updated if the parameters are null