adding ajax when creating a new update to not refresh the whole page. Still refreshes if pic included