updated gems and model