changing fields saved to db