updating index and contact styling