I want to check if I have a given parameter value in my Room database using Java. If it is there then I just update the record, otherwise I insert a new one. How can I get this