object prototype update