Added 'parents' switch support for 'update' command