updates formatting