using oo update program