working save field in database.