Made changes in database therefore also in the code