Implement translations md5 update, change middleware type according to main module