have you tried
update_sub_field('colors', 'some value') // no post id needed here when in loop
other than this I don’t see anything wrong with the code you supplied. If this does not fix the issue then you’ll need to explain better what you are trying to accomplish.