fixes update with formatting