made refresh work, + added param for mark color