Marketpress - Where to put custom plugin code to not get it overwritten by updates

I just noticed that a payment option disappeared from marketpress, guess that could be related to the update of the plugin. I had placed it in the plugins-gatway folder, and now its nowhere to be found.
Should it be placed somewhere else to be kept safe from updates?