fixed bug in fix lamb crashing if tried to update database with nothing
set or changed.