Fix Gemfile source
Fix prefix handling to make update_counter work correctly

 - also fix increment/decrement of array values