Wrap update query in try to keep it from crashing out