updating works with form