updating,.. added more functionatities such as filters and search term