putting cursor init into init, update into update