Adding updateField method

With this method it is now posible to update existing field attributes.