Modifications to database