Scalar field dark matter with time-varying equation of state | Synapse