updated gems and catarse source code