If there is a court order in place, you are bound by it. You may jointly apply to modify the order by consent to match your agreement.
I am not a CA attorney, laws vary from state to state, therefore you should always consult a local attorney.
If this answer was helpful, please mark it as helpful or as a best answer. This answer is for general education purposes only. It neither creates an attorney-client relationship nor provides legal guidance or advice. The answer is based on the limited information provided and the answer might be different had additional information been provided. You should consult an attorney.