cant get foreman to update database correctly