hi
I need to kown your configuration to give you an answer.
maybe, can you give a link (it's enough for me to understand your configuration)
You have to do this again on any update and you should not change plugin files but hte defintion call of the colorbox instead (where that is in the theme you have to find):
http://www.jacklmoore.com/colorbox