simplified way of changing uniform values