updated gems and created pages resource