re-added the erroneously deleted updatetripday method